<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>标题</title>

    <%@ include file="../../common/meta.jsp" %>
    <%@ include file="../../common/taglib.jsp" %>

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <link rel="stylesheet" href="home/assets/dropkick/css/dropkick.css">
    <link rel="stylesheet" href="home/module/receiverManage/css/addReceiver.css">
    <link rel="stylesheet" href="home/assets/ystep/css/ystep.css">

    <script type="text/javascript" src="home/assets/dropkick/js/dropkick.js"></script>
    <script type="text/javascript"
            src="http://api.map.baidu.com/api?v=2.0&ak=9AWkO508ejznfczgToGLxYqaN1Po4vYI&callback=mapCallback"></script>
    <script type="text/javascript" src="home/module/receiverManage/js/addReceiver.js"></script>
</head>
<body>
    <input type="hidden" id="status" value="${shop.status}"/>
    <input type="hidden" id="old-area" value="${shop.area}"/>
    <input type="hidden" id="old-city" value="${shop.city}"/>
    <input type="hidden" id="old-latitude" value="${shop.latitude}"/>
    <input type="hidden" id="old-longitude" value="${shop.longitude}"/>
    <input type="hidden" id="old-province" value="${shop.province}"/>
    <input type="hidden" id="businessLicensePhotoId" value="${shop.businessLicensePhoto}"/>
    <input type="hidden" id="shopOutPhotoId" value="${shop.shopOutPhoto}"/>
    <input type="hidden" id="shopInPhotoId" value="${shop.shopInPhoto}"/>

    <div class="shopManageRightContainer">
        <div class="shopManageOption">
            <div id="shopStatus" style="text-align: center;"></div>
        </div>
        <div class="shopManageOption">
            <div class="shopManageTitle">收货人</div>
            <div class="shopManageContent">
                <input type="text" value="${shop.name}" class="shopInput" id="receiverName"
                       placeholder="收货人名字"/>
            </div>
            <div class="clear-float"></div>
        </div>
        <div class="shopManageOption">
            <div class="shopManageTitle">手机号码</div>
            <div class="shopManageContent">
                <input type="text" value="${shop.businessLicenseNumber}" class="shopInput"
                       id="receiverPhone" placeholder="手机号码"/>
            </div>
            <div class="clear-float"></div>
        </div>
        <div class="shopManageOption">
            <div class="shopManageTitle">固定电话</div>
            <div class="shopManageContent">
                <input type="text" value="${shop.businessLicenseNumber}" class="shopInput"
                       id="receiverFixedTelephone" placeholder="固定电话"/>
            </div>
            <div class="clear-float"></div>
        </div>
        <div class="shopManageOption">
            <div class="shopManageTitle">地址</div>
            <div class="shopManageContent">
                <select id="provinceSelect">
                    <option>省份</option>
                </select>
                <select id="citySelect">
                    <option>城市</option>
                </select>
                <select id="areaSelect">
                    <option>区县</option>
                </select>
                <input type="text" value="${shop.addressDetail}" name="addressDetail" id="addressDetail"
                       placeholder="请务必填写真实信息"/>
                <input type="button" id="searchAddress" class="search-btn" value="搜索位置并标注">
                <p class="explain">
                    此地址将用于定位收货地址。城市请具体到街道号或门牌号，农村请具体到乡镇或村。<br>
                    详细地址如：勒竹新村东乐路1号博展物流园，黄村镇大庄村丰顺路京南物流园。 </p>
            </div>
            <div class="clear-float"></div>
        </div>
        <div class="shopManageOption">
            <div class="shopManageTitle">定位</div>
            <div class="shopManageContent">
                <div id="map" style="width:100%;height:360px;border: 1px solid #d8d8db;"></div>
            </div>
            <div class="clear-float"></div>
        </div>
        <div class="shopManageOption" style="text-align: center;border-top: 1px dashed #e2e2e4;padding-top:20px;">
            <input type="button" id="submitShopAuthentication" class="search-btn" value="保存">
        </div>
    </div>
</body>
</html>